<template>
	<view>
		<u-collapse accordion>
			<u-collapse-item title="掌上校园网页版">
				<text class="u-collapse-content">注意用户登录类型选择学工号</text>
				<u--text type="primary" text="点击跳转" @click="toWebXY"></u--text>
			</u-collapse-item>
			<u-collapse-item title="E安校网页版">
				<u--text type="primary" text="点击跳转" @click="toWebE"></u--text>
			</u-collapse-item>
			<u-collapse-item title="长财WebVPN网站">
				<text class="u-collapse-content">下方链接进入后，将以电脑端页面大小打开网址</text>
				<u--text type="primary" text="点击跳转(电脑端页面)" @click="toWebVpnD"></u--text>
				<text class="u-collapse-content">---------------------------------</text>
				<text class="u-collapse-content">下方链接进入后，将以手机端页面大小打开网址</text>
				<u--text type="primary" text="点击跳转(手机端页面)" @click="toWebVpnAn"></u--text>
			</u-collapse-item>
			<u-collapse-item title="课表查询">
				<text class="u-collapse-content">登入VPN后进入教务系统首页，返回退出到此页，再次点击下方文字可进入查看课表</text>
				<text class="u-collapse-content">---------------------------------</text>
				<u--text type="primary" text="点击跳转至课表查询界面" @click="toWebccufeVPN"></u--text>
			</u-collapse-item>
			<u-collapse-item title="登入教务">
				<text class="u-collapse-content">教务系统意外退出，登入显示重复登入可点击下方</text>
				<text class="u-collapse-content">---------------------------------</text>
				<u--text type="primary" text="点击跳转" @click="toWebJW"></u--text>
			</u-collapse-item>
			<u-collapse-item title="联系开发者">
				<text class="u-collapse-content" @click="copyMail">联系邮箱：wilsend@163.com 点击复制</text>
			</u-collapse-item>
			<u-collapse-item title="清空所有登录信息">
				<text class="u-collapse-content">可清除所有登录信息，例如WebVPN、E安校、掌上校园等</text>
				<text class="u-collapse-content">---------------------------------</text>
				<u--text type="primary" text="点击清空" @click="toDE"></u--text>
			</u-collapse-item>

			<!-- <u-collapse-item title="四六级">
				<u--text type="primary" text="点击跳转" @click="toSLJ"></u--text>
			</u-collapse-item> -->
		</u-collapse>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			toDE() {
				plus.navigator.removeAllCookie()
				uni.showToast({
					title: "清除Cookie成功"
				})
			},
			toWebXY() {
				plus.runtime.openWeb('http://ykt.ccufe.com:8070')
			},
			toWebE() {
				plus.runtime.openWeb('http://crcx.ccufe.edu.cn/')
			},
			toWebVpnAn() {
				plus.runtime.openWeb('https://vpn.ccufe.edu.cn/portal/#!/login')
			},
			toSLJ() {
				plus.runtime.openWeb('https://cet.neea.edu.cn/')
			},
			toWebJW() {
				plus.runtime.openWeb('http://10-3-0-1.vpn.ccufe.edu.cn:3030/TMWeb/ischool.aspx')
				// uni.navigateTo({
				// 	url: '/pages/my/Other/WC',
				// 	animationType: "pop-in",
				// 	animationDuration: 200
				// })
			},
			tok() {
				plus.runtime.openWeb('http://10-3-0-1.vpn.ccufe.edu.cn:3030/TMWeb')
			},
			toWebVpnD() {
				uni.navigateTo({
					url: '/pages/my/Other/WV',
					animationType: "pop-in",
					animationDuration: 200
				})
			},
			toWebccufeVPN() {
				// plus.runtime.openWeb('https://vpn.ccufe.edu.cn/portal/#!/login')
				uni.navigateTo({
					url: '/pages/my/Other/WebVPN',
					animationType: "pop-in",
					animationDuration: 200
				})
			},
			copyMail() {
				uni.setClipboardData({
					data: "wilsend@163.com"
				})
			}
		}
	}
</script>

<style lang="scss">

</style>